const counterBehavior = Behavior({
    data: {
        count: 0
    },
    methods: {
        inCrement() {
            this.setData({ count: this.data.count + 1 })
        },
        deCrement() {
            this.setData({ count: this.data.count - 1 })
        }
    }
})

module.exports = {
    counterBehavior
}